package bag

import (
	"gitee.com/MrDaiM/mall/internal/domain/service"
)

type Case struct {
	BagService *service.BagService
}

func NewCase() *Case {
	c := Case{
		BagService: service.NewBagService(),
	}
	return &c
}

func (c *Case) AddItem(item string) {
	c.BagService.IBagService.AddItemSrv(item)
}
